package cn.edu.jxau.controller;

/**
 * 
 * ResultConfig
 * @author zclong 2017年9月7日
 */
public interface ResultConfig {
    /**
     * 处理类型
     */
    public static final String TYPE_REDIRECT = "redirect";// 重定向
    public static final String TYPE_DISPATCHER = "dispatcher";// 转发
    public static final String TYPE_UPLOAD = "upload";
    public static final String TYPE_DOWNLOAD = "download";
    public static final String TYPE_AJAX = "ajax";
    public static final String TYPE_VERIFYCODE = "verifycode";// 验证码
    public static final String TYPE_EMAIL = "Email";// 邮件发送
    public static final String UPDATE_USER_SESSION = "updateUserSession";
    /**
     * Action方法执行结果类型
     */
    public static final String SUCCESS = "success";
    public static final String FAILED = "failed";
    public static final String ERROR = "ERROR";
    public static final String LOGIN = "login";
    public static final String EXIT = "exit";
    public static final String AJAX = TYPE_AJAX;
    public static final String UPLOAD = TYPE_UPLOAD;
    public static final String FILE = TYPE_DOWNLOAD;
}
